package MyqueueStack;

public class Text {
    public static void main(String[] args) {
        MyQueue m = new MyQueue();
        m.push(1);
        m.push(2);
        m.push(4);
        m.push(5);
        m.push(6);
        m.push(7);
        System.out.println(m.empty());
        System.out.println(m.pop());
        System.out.println(m.pop());
        System.out.println(m.pop());
        System.out.println(m.pop());
        System.out.println(m.pop());
        System.out.println(m.pop());
    }

}
